import request from '@/utils/request'

// 查询品类价格设置列表
export function listTeamCategoryPrice(query) {
  return request({
    url: '/system/teamCategoryPrice/list',
    method: 'get',
    params: query
  })
}

// 查询品类价格设置详细
export function getTeamCategoryPrice(id) {
  return request({
    url: '/system/teamCategoryPrice/' + id,
    method: 'get'
  })
}

// 新增品类价格设置
export function addTeamCategoryPrice(data) {
  return request({
    url: '/system/teamCategoryPrice',
    method: 'post',
    data: data
  })
}

// 修改品类价格设置
export function updateTeamCategoryPrice(data) {
  return request({
    url: '/system/teamCategoryPrice',
    method: 'put',
    data: data
  })
}

// 删除品类价格设置
export function delTeamCategoryPrice(id) {
  return request({
    url: '/system/teamCategoryPrice/' + id,
    method: 'delete'
  })
}

// 导出品类价格设置
export function exportTeamCategoryPrice(query) {
  return request({
    url: '/system/teamCategoryPrice/export',
    method: 'get',
    params: query
  })
}